{if isset($files)}
{foreach $file in $files}
<div class="col-xs-2">
     {echo $file->Name}<br/>
    <img src="/img/{echo substr($shop->URL,0,strlen($shop->URL)-1)}/128px/$file->Name" alt="obrazek $file->Name nie został odnaleziony">
</div>    
{/foreach}
{/if}
{else}
{/else}
<a href="/$shop->URL/ShopAdmin_Files/add"><button class="btn btn-toolbar btn-info">Dodaj Obrazek</button></a>